1958, originally in reference to Soviet communist policies, from hard + line (n.) in the political sense. Related: Hard-liner (1963).
: the President's hard-line views on abortion
A policy or attitude based on severity and lack of compromise: Take a hard line with them or they'll murder you (1960s+)